package com.example.Android_test.specs;

/**
* Created with IntelliJ IDEA.
* User: dns
* Date: 12.05.13
* Time: 20:41
* To change this template use File | Settings | File Templates.
*/
public class TranslationVariantSpec {
    private String partOfSpeech;
    private String wordTranslation;
    private String exampleOfUse;

    /*public TranslationVariantSpec(String partOfSpeech, String wordTranslation, String exampleOfUse) {
        this.partOfSpeech = partOfSpeech;
        this.wordTranslation = wordTranslation;
        this.exampleOfUse = exampleOfUse;
    }*/

    public TranslationVariantSpec() {
    }


    public String getPartOfSpeech() {
        return partOfSpeech;
    }

    public void setPartOfSpeech(String partOfSpeech) {
        this.partOfSpeech = partOfSpeech;
    }

    public String getTranslate() {
        return wordTranslation;
    }

    public void setTranslate(String rusWord) {
        this.wordTranslation = rusWord;
    }

    public String getExampleOfUse() {
        if (exampleOfUse == null) return "";
        return exampleOfUse;
    }

    public void setExampleOfUse(String exampleOfUse) {
        this.exampleOfUse = exampleOfUse;
    }
}
